<template>
	<view class="container">
		<view class="apply-main">
		<jyf-parser :html="content"></jyf-parser>
		</view>
	</view>
</template>

<script>
	import footerFixedBar from "@/components/footer-fixed-bar.vue"
	import {toPath,toAppIndex} from "@/utils/toPath.js"
	import {optionsManager} from '@/utils/utils.js';
	export default {
		components: {
			footerFixedBar
		},
		data() {
			return {				
				content:''				
			}
		},
		onLoad(options) {
			this.getLianxi()
		},		
		methods: {
			// 获取分销商说明
			async getLianxi(){
				let params = {
					method: 'api/v2/system/lianxi'					
				};
				
				let res = await this.$http(params);

				if(res.status)
				{
					this.content = res.data
				}
			}
		}
	}
</script>

<style lang="scss">
	.apply-main{
		padding: 30rpx 24rpx 120rpx;
		font-size: $uni-font-size-base;
		.apply-item{
			color: $uni-text-color;
			font-size: $uni-font-size-base;
			
			&__pic{
				margin: 30rpx 0;
				background: $uni-bg-color;
				height: 260rpx;
				text-align: center;
				image{
					height: 260rpx;
					width: 260rpx;
				}
			}
		}
	}
	// 底部独立按钮
	.footer-alone-btn-default{
		text-align: center;
		padding: 0 25rpx 22rpx;
		background: $uni-bg-color-grey;
		.text{
			background: $uni-bg-color-primary;
			padding: 30rpx 0;
			color: $uni-text-color-inverse;
			border-radius: $uni-border-radius-lg;
			font-size: $uni-font-size-base;
			&.disabled{
				background: $uni-bg-color-mask;
			}
		}
		.btn{
			background: $uni-bg-color-primary;
			color: $uni-text-color-inverse;
			border-radius: $uni-border-radius-lg;
			font-size: $uni-font-size-base;
			&.disabled{
				background: $uni-bg-color-mask;
			}
			padding: 15rpx 0;
		}
	}
</style>
